﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BoxItem : BaseItem
{
    private int hitCount;
    public BoxItem(AutoData data) : base(data)
    {
    }

    public int HitCount
    {
        get
        {
            return hitCount;
        }

        set
        {
            hitCount = value;
            if (value == 5)
            {
                Dissove();
            }
        }
    }

    private void Dissove()
    {

    }
}